Fixed a login redirect bug and added feedback