made console.log in convertProfileToUser for NODE_ENV === 'development'