def GET(self): input = web.input() if session.logged_in: dashboard = Dashboard() dashboard.checkin_server(input.username, input.id, input.hostname, input.os) raise web.seeother('/dashboard?username={0}&fullname={1}'.format( session.username, session.fullname)) else: raise web.seeother('/loginFailed')