added preliminary registration and login features