worked out login page, needs js part completed
corrected template issues for unauthenticated users