Added a registration and logging users