cleaned up setting the username and password so that its more cohesive