Started server side and js connection for registration form