Editted Authentication method for all Activities (BaseActivity)