Fix login from activity to fragment