Login works again after changing return-statements and outcommenting a
line from Stephans code and altering other lines to cooperate with
return-values on the methods called.