Added user registration and log on