Finish helper functions

Created a helper.rb file that contains the helper functions for the auth-client
yes this should be a module.