Fix nasty bug causing users not to be able to see any page (except admins)
Bump version #
Merge branch 'release/5.0.2' into develop