Fixed login not going to dashboard on success