make espinita compatible for project without current user defined

- this makes it compatible for project in which current_user is not defined