Put authenticate and authorize in Application Controller