Implemented login data retrieval from file properly.