Fixed view register views functions to return app
Fixed API view to correctly POST