<gh_stars>1-10
__author__ = 'Zhanelya'
import web
from models.users import users_model


class spa:

    def GET(self):

        if web.input().get('action') == 'logout':
            users_model.session_login(0)

        return web.template.render('views/').index()