Implemented a withAuth method to check if a user has been authenticated. Updated other methods to use it in order check user auth.