fix bug with password and username input