adding signup functionality