added username and password variables to AuthenticationManager