Added user sign-in functionality; home and editor require login; use user='hr4e', password='pw'