To register/login to your site visitors should submit an authorization form. There is also a possibility for users to login with 3rd-party social services: