fixed current user not storing correctly