Functional Scripts for Sign up and login page