Bugfix: User is redirected to profile page after registering