add "register" method
change get and post methods to private
add a method to check for proper trustlines between users and gateway