Implements a way to save the login information.