changed global App.currentUser to local currentUser