Update login and templates