created signup-login functionality