login menu and main activity templates