update register and login templates
work on authentication controller
adding authentication model in mari, server login should use email for the username
register form working
login working
links authentication looks good. need to modify app for unauthenticated users