Started working on the authentication backend for permissions