adding register function
changing register function, login and CTA