Couple small fixes

* Displaying message when anonymous tries to view the map inviting to login
* Fixing bug when period=range