Made some additional user authentication modifications.