Why do is the program not remembering my user and password?