Fix #728, need review

remove login required for map and check for correct layer permissions