added users controller for registration