fixing login redir