Replicate sign up rules on back-end