adding requirement for login on all pages