Working on login and template