Application controller with useful functions

Added send, allowedParams functions to Application controller.
Changed format and validations to get current user.
DRY code used on organization controller