Updated addfield and createapplication to use the authentication from login. Database dump to reflect schema changes on applications table.