def login_handler(): msg = bottle.request.query.get('msg', '') return handler_util.render('login.html', {'msg': msg})