DatabaseClass sign in and login class