-new way to get logged user