Initial code for users authentication and push notifications