File exists

Added check for the username and password file to check that it exists.