Change login from fragment to activity to prevent UiThread problems