Added map resources, basic login method