created signup functionality