Refactor userauthentication proccess and add support for "keyboard-interactive" authentication method