registration, authentication, authorisation and some few changes