fixed bug related to spree_current_user