can login by user input