Finalized user authentication and admin priviledges