Create Register and Login Controller.