code: def login(self, came_from=lurl('/')):
          
          login_counter = request.environ.get('repoze.who.logins', 0)
          if login_counter > 0:
              flash(_('Wrong credentials'), 'warning')
          return dict(page='login', login_counter=str(login_counter),
                      came_from=came_from)
docs: Start the user login.