Adding proper response type in auth