fixed came_from when login is required it then remembers where you came from and you will get redirected there.