Templates and login mechanism is added