fix leftover merge errors
move loginRequired property to view constructor