adding sign out function to action bar