added registration and login views, need to be modified and synced with database