Removed a test.
Changed loginUser-method because now can be redirected somewhere else.