User registration with email confirmation and login