finished part of the authentication and authorization bit
finished user authorization and authentication