Security, login form, & templates added