added sem-working register and login