restrict url for registration page for logged in user