Bugfix/login redirect