Fixed login

Fixed login support to the application