Register User validates and logs in