fixed some problems with register view
changed back endpoints
new login UI
new UI for login
merged