set up new signup and login function