bugfix in login

needed to store recommendation in DB