Map, castle routes redirect to home page if not authenticated; Bug Fix on map's route