in login template: reload page if user is already logged in