Basic login handler for Martini