fix login handler for jon