added login on MainActivity onResume
action bar sherlock, added navigation functions