Added some code to make request post to the server and add applications. If error adding the staffer the application is never added.