Added a simple registration and authorization system