Modifications to auth_controller and sample use of API via .inspect of Mashes in view profile.html.erb.