Added code to switch LoginFragment to StoreFragment when credentials are entered.