Login and logout works and add homepage.