Adding loading spinner to native login screen in android