User creation and login functionality, along with user permissions