bugfix: fix for login function, incorrect mapping