fixing get()for username and password