Added login redirect so that unauthorized users can not access controllers that require login
More extra assignments