edit login & resource