Added Registration Functionality