Adding functionality for user auth and data