Fixed currentUser method throwing exception when there is no session present