Changed login to send a user to their dashboard after a succesful login