Created account class for registration/login functions.