Added permissions and a map on main activity