login fragment and resources